ObjectDB Database Search

101-150 of 200 results

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

ObjectDB throws `NullPointerException` in internal code (`com.objectdb.o.ENH.b`)

The drop code word does not work?

The drop code word does not work?

Activation license not picked up in Jenkins

Hi, trying to understand why the activation license is not being picked up. We have tests ... a Jenkins build pipeline on the same machine, they fail. The activation licence is in the file:  ... containers. For some reason, Jenkins (which runs as docker-in-docker) is not recognizing the activation

Activation key causes database to not start

We had ObjectDB version 2.5.7_06, then we bought a server license, then we activated it today. We get an error when trying to start ObjectDB after adding activation in objectdb.conf. We initially ... . We still cannot start ObjectDB if we add the activation key in objectdb.conf. This is the ObjectDB log

Embedded & Activation & Scalation

when two instances try to access same db? Is everything synched properly? How does activation work? We'd buy a site license, however, we CAN NOT individually activate every instance on every machine ... (!) which can spawn through 1000's of different machines so activation wouldn't make much sense (besides we'd

programmatic activation

Wondering if there is documentation for this class: com.objectdb. Activator Specifically: Is it possible to programmatically  activate ObjectDB, ie: to pass in username, password, site key, and get back a link? This would help significantly with activation in server environments. dmoshal

Error activating objectdb

C: \ Users \ Roberto Pinto java -cp objectdb.jar com.objectdb. Activator Error: The main class com.objectdb. Activator was not found or loaded this is the path of the activator D: \ BBDD_Entornos \ Objecdb \ Objectdb-2.74_03 \ objectdb-2.7.4_03 \ bin this is the route where the clkase Activator

locks on pure query activities

can show a repeating pattern of a specific activity that holds such locks more than expected (the stack traces

Repeated long Index Activation

Repeated long Index Activation

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

500Mb ObjectDb database opening issue

all activations from the objectdb.conf file. With an OEM license your end users do not need activation codes , and you should avoid including activation codes in your distributed application. Maybe checking all these activation codes takes much more time on your system than on ours (it is unclear

Catching exceptions from online backup

of the backup process, then the backupThread finished its work even before our code would set ... is caught in the surrounding catch block in TOL:47 and its code does not generate next exception ... ) { } // Possible states are: " activate ", "hide","showDisabled" function Babylon_SetCorrectionState

CRUD Database Operations with JPA

Given an EntityManager instance, em , which manages the persistence context for the database, you can use it to store, retrieve, update, and delete objects. Storing new entities The following code fragment stores 1,000 Point objects in the database: em. getTransaction (). begin (); for (int i = 0

JPA Relationships Annotations

Relationships define associations between entities. They are represented In Java code by attributes (persistent fields or properties) in persistent classes that hold a reference or a collection of references to other entities. Jakarta Persistence (JPA) provides annotations to configure

Paths and Types in JPQL and Criteria API

expressions in the preceding code can be divided into two main groups: FROM variable expressions

JPA Criteria API Queries

(); The Criteria API requires more code , especially for simple static queries. The equivalent JPQL query

JPA Persistence Unit

;file to define a persistence unit. You can now define a persistence unit entirely in Java code

Running the Activator requires Java 6 or above.

+1, mixed mode)   But activation complains: java -classpath objectdb.jar com.objectdb. Activator ObjectDB Activator [version 2.8.3] Copyright (c) 2020, ObjectDB Software. All rights reserved. Running the Activator requires Java 6 or above.         dmoshal David Moshal Note

Cannot activate ObjectDB

Hi, I have purchased a license for ObjectDB. I tried activating it on a clients PC. Everything was OK (I stated username, password etc), and I got the web address for activation . But opening the web ... are specified, so the activation seems to succeed with later, a 500 error on the website, but actually in

Deadlock on Schema Update during Multithreading activity

A possible deadlock was detected when new types are registered during multithreading activity against ObjectDB. Until this issue is fixed, the recommended workaround is to complete registration of all the persistable types before starting any multithreading activity against ObjectDB. A single

JQL-Update Queries fails with activated L2-Cache

JQL-Update Queries fails with activated L2-Cache

jakarta.persistence.TypedQuery

of the query. Deprecated: Newly-written code should use the date/time types defined in java.time ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/time types ... is of incorrect type. Deprecated: Newly-written code should use the date/time types defined in java.time

jakarta.persistence.Query

of the query. Deprecated: Newly-written code should use the date/time types defined in java.time ... . Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta ... . Deprecated: Newly-written code should use the date/time types defined in java.time . Since: Jakarta

jakarta.persistence.StoredProcedureQuery

of the query. Deprecated: Newly-written code should use the date/time types defined in java.time ... correspond to a parameter of the query. Deprecated: Newly-written code should use the date/time types ... if the value argument is of incorrect type. Deprecated: Newly-written code should use the date/time types

jakarta.persistence.EntityManagerFactory

with an active transaction, and call the given function, passing the EntityManager to the function ... with an active transaction, and execute the given function, passing the EntityManager to the function

jakarta.persistence.EntityExistsException

. The current transaction, if one is active , will be marked for rollback. If the entity already exists ... , if one is active and the persistence context has been joined to it, will be marked for rollback

jakarta.persistence.EntityManager.joinTransaction()

() Indicate to the entity manager that a JTA transaction is active and join the persistence context ... the scope of the active transaction or on an entity manager of type SynchronizationType.UNSYNCHRONIZED ... - if there is no active transaction. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.EntityManager.getLockMode(Object)

currently held. Throws: IllegalArgumentException - if a transaction is active but the given instance is not a managed entity. TransactionRequiredException - if there is no active transaction or

jakarta.persistence.PessimisticLockException

may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active

jakarta.persistence.FlushModeType

is unspecified. If there is no transaction active or the persistence context is not joined to the current

jakarta.persistence.LockTimeoutException

. The current transaction, if one is active , will be not be marked for rollback. Since: Jakarta Persistence

jakarta.persistence.EntityNotFoundException

and the entity no longer exists in the database. The current transaction, if one is active

jakarta.persistence.QueryTimeoutException

transaction, if one is active , will be not be marked for rollback. Since: Jakarta Persistence (JPA) 2

jakarta.persistence.TransactionRequiredException

: Serializable Thrown by the persistence provider when a transaction is required but is not active

jakarta.persistence.NonUniqueResultException

transaction, if one is active , to be marked for rollback. See Also: Query.getSingleResult() TypedQuery

jakarta.persistence.NoResultException

and there is no result to return. This exception does not cause the current transaction, if one is active

jakarta.persistence.OptimisticLockException

may be thrown as part of an API call, a flush or at commit time. The current transaction, if one is active

jakarta.persistence.PersistenceException

, if one is active and if the persistence context has been joined to it, to be marked for rollback

jakarta.persistence.EntityManagerFactory.runInTransaction(Consumer)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory void runInTransaction (    Consumer work ) Create a new application-managed EntityManager with an active transaction, and execute the given function, passing the EntityManager to the function. If the transaction

jakarta.persistence.EntityManagerFactory.callInTransaction(Function)

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManagerFactory R callInTransaction (    Function work ) Create a new application-managed EntityManager with an active transaction, and call the given function, passing the EntityManager to the function. If the transaction type

jakarta.persistence.EntityManager.isJoinedToTransaction()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager boolean isJoinedToTransaction() Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active . Returns: boolean. Since: Jakarta Persistence (JPA) 2.1

Getting Started with JPA

This tutorial demonstrates how to create and run a simple JPA application. The demonstrated application uses JPA to store and retrieve simple  Point entities, where each  Point has two persistent fields -  x and  y . If you already know JPA - the source code will be straightforward

Step 3: Define a Spring DAO Component

replace the content of the new source file with the following code : package guest; import java.util

NetBeans/JPA Java EE Tutorial

and menus might look slightly different but the code would be the same). Note: ObjectDB 2.3.7_04 or

Step 4: Add a Servlet Class

of the new source file with the following code : package guest; import java.io.IOException; import javax

Step 2: Define a JPA Entity Class

code : package guest; import java.io.Serializable; import java.sql.Date; import javax.persistence.Entity

Step 3: Define an EJB Session Bean

with the following code : package guest; import java.util.List; import javax.ejb.Stateless; import javax.persistence

Step 4: Add a Servlet Class

the new servlet class. Now replace the content of the new source file with the following code : package

Getting Started with JPA and NetBeans

well (dialog boxes and menus might look slightly different but the code would be the same). This tutorial consists of the following steps:

Which API should I use - JPA or JDO?

, tutorials and sample code . When to prefer JDO JDO might be preferred when portability to other object